package com.d0311;

public class Tank implements IWeapon, IMaintain {

    @Override
    public void attack() {
        System.out.println("Tank acctack");
    }

    @Override
    public void defense() {
        System.out.println("Tank defence");
    }


    public static void main(String[] args) {
        Tank tank=new Tank();
        tank.attack();
        tank.defense();
    }

    @Override
    public void repairMechine() {

    }
}
